package com.ruoyi.consumer.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户账号对象 c_lytx_user
 * 
 * @author YFENTEST
 * @date 2023-11-17
 */
public class CLytxUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** lytx-d编号 */
    private Integer lytxId;

    /** 用户账号id编号 */
    @Excel(name = "用户账号id编号")
    private Integer userId;

    /** 微信的openid号 */
    @Excel(name = "微信的openid号")
    private String openid;

    /** 用户手机号 */
    @Excel(name = "用户手机号")
    private String userPhone;

    /** 用户微信昵称 */
    @Excel(name = "用户微信昵称")
    private String userNick;

    /** 用户微信头像 */
    @Excel(name = "用户微信头像")
    private String userHeader;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String userName;

    /** 0为普通司机，1为车队长 */
    @Excel(name = "0为普通司机，1为车队长")
    private Integer userRole;

    /** 公司账号id编号 */
    @Excel(name = "公司账号id编号")
    private Integer companyId;

    /** 车辆id编号 */
    @Excel(name = "车辆id编号")
    private Integer carId;

    /** 个人钱包id编号 */
    @Excel(name = "个人钱包id编号")
    private Integer walletPersonId;

    /** 公司钱包id编号 */
    @Excel(name = "公司钱包id编号")
    private Integer walletCompnyId;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer isDelete;

    /** 状态，0：正常，1：禁用 */
    @Excel(name = "状态，0：正常，1：禁用")
    private Integer status;

    public void setLytxId(Integer lytxId) 
    {
        this.lytxId = lytxId;
    }

    public Integer getLytxId() 
    {
        return lytxId;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setOpenid(String openid) 
    {
        this.openid = openid;
    }

    public String getOpenid() 
    {
        return openid;
    }
    public void setUserPhone(String userPhone) 
    {
        this.userPhone = userPhone;
    }

    public String getUserPhone() 
    {
        return userPhone;
    }
    public void setUserNick(String userNick) 
    {
        this.userNick = userNick;
    }

    public String getUserNick() 
    {
        return userNick;
    }
    public void setUserHeader(String userHeader) 
    {
        this.userHeader = userHeader;
    }

    public String getUserHeader() 
    {
        return userHeader;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserRole(Integer userRole) 
    {
        this.userRole = userRole;
    }

    public Integer getUserRole() 
    {
        return userRole;
    }
    public void setCompanyId(Integer companyId) 
    {
        this.companyId = companyId;
    }

    public Integer getCompanyId() 
    {
        return companyId;
    }
    public void setCarId(Integer carId) 
    {
        this.carId = carId;
    }

    public Integer getCarId() 
    {
        return carId;
    }
    public void setWalletPersonId(Integer walletPersonId) 
    {
        this.walletPersonId = walletPersonId;
    }

    public Integer getWalletPersonId() 
    {
        return walletPersonId;
    }
    public void setWalletCompnyId(Integer walletCompnyId) 
    {
        this.walletCompnyId = walletCompnyId;
    }

    public Integer getWalletCompnyId() 
    {
        return walletCompnyId;
    }
    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("lytxId", getLytxId())
            .append("userId", getUserId())
            .append("openid", getOpenid())
            .append("userPhone", getUserPhone())
            .append("userNick", getUserNick())
            .append("userHeader", getUserHeader())
            .append("userName", getUserName())
            .append("userRole", getUserRole())
            .append("companyId", getCompanyId())
            .append("carId", getCarId())
            .append("walletPersonId", getWalletPersonId())
            .append("walletCompnyId", getWalletCompnyId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isDelete", getIsDelete())
            .append("status", getStatus())
            .toString();
    }
}
